<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册页面</title>
    <link rel="stylesheet" href="../public/css/register.css">
    <style>
    </style>
</head>
<body>
    <div class="register-container">
        <h2>注册</h2>
        <div class="form-group">
            <label for="username">用户名</label>
            <input type="text" id="username" name="username" required>
        </div>
        <div class="form-group">
            <label for="password">密码</label>
            <input type="password" id="password" name="password" required>
        </div>
        <div class="form-group">
            <label for="confirm-password">确认密码</label>
            <input type="password" id="confirm-password" name="confirm-password" required>
        </div>
        <button type="button" class="register-btn" onclick="register()">注册</button>
        <div class="login-link">
            <a href="login">已有账号，去登录</a>
        </div>
    </div>

    <script src="../public/js/register.js"></script>
</body>
</html>